/* Base Styles */
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #323f48;
  background-size: cover;
  color: #f4f4f4; /* Lighter text color for better visibility */
  line-height: 1.6;
  scroll-behavior: smooth; /* Smooth scrolling */
}

/* Header */
header {
  background: rgb(194 196 209 / 80%); /* Semi-transparent white background */
  color: #323f48; /* New primary color */
  padding: 20px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header img {
  width: 350px; /* Increased size of the logo */
  height: auto;
  margin-bottom: 10px;
  border: 2px solid #d7dc2e; /* Adding border to enhance visibility */
  border-radius: 10px; /* Rounded corners for a modern look */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Adding shadow for better emphasis */
}

header h1 {
  margin: 0;
  font-size: 2.5em;
}

header h2 {
  margin: 0;
  font-size: 1.2em;
  color: #d7dc2e; /* New secondary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Shadow: offset-x, offset-y, blur-radius, color */
}

/* Navigation */
nav {
  background: #323f48; /* New primary color */
  color: #ffffff;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1em;
  padding: 10px 15px;
  display: block;
}

nav ul li a:hover {
  background: #d7dc2e; /* New secondary color */
  color: #323f48; /* New primary color */
  border-radius: 5px;
}

/* Main Content */
main {
  padding: 20px;
}

/* Introduction Section */
.intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgb(194 196 209 / 80%); /* Semi-transparent white background */
  border-radius: 10px;
  margin-bottom: 20px;
}

.intro-text {
  flex: 1;
  padding: 20px;
  color: #323f48; /* Ensure text is visible */
}

.intro-image {
  flex: 1;
  padding: 20px;
}

.intro-image img {
  max-width: 100%;
  border-radius: 10px;
}

/* Section Titles */
h2 {
  color: #d7dc2e; /* New primary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Shadow: offset-x, offset-y, blur-radius, color */
  text-align: center;
  margin-top: 0;
}

h3 {
  color: #d7dc2e; /* New secondary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Shadow: offset-x, offset-y, blur-radius, color */
  margin-top: 0;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.team-member {
  background: rgb(194 196 209 / 80%); /* Semi-transparent white background */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: #323f48; /* Ensure text is visible */
}

.team-member h3 {
  color: #d7dc2e; /* New secondary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Shadow: offset-x, offset-y, blur-radius, color */
}

/* Achievements Section */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.achievement {
  background: rgb(194 196 209 / 80%); /* Semi-transparent white background */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: #323f48; /* Ensure text is visible */
}

.achievement i {
  font-size: 2em;
  color: #d7dc2e; /* New secondary color */
  margin-bottom: 10px;
}

/* Services Section */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.service {
  background: rgb(194 196 209 / 80%); /* Semi-transparent white background */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: #323f48; /* Ensure text is visible */
}

.service h3 {
  color: #d7dc2e; /* New secondary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Shadow: offset-x, offset-y, blur-radius, color */
}

/* Contact Section */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  background: rgb(194 196 209 / 80%); /* Semi-transparent white background */
  border-radius: 10px;
}

.contact-details {
  flex: 1;
  padding: 20px;
  color: #323f48; /* Ensure text is visible */
}

.contact-details h3 {
  color: #d7dc2e; /* New secondary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Shadow: offset-x, offset-y, blur-radius, color */
}

.contact-form {
  flex: 1;
  padding: 20px;
}

.contact-form h3 {
  color: #d7dc2e; /* New secondary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Shadow: offset-x, offset-y, blur-radius, color */
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  color: #323f48; /* New primary color */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #d7dc2e; /* New secondary color */
  border-radius: 5px;
}

.contact-form button {
  background: #323f48; /* New primary color */
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #d7dc2e; /* New secondary color */
  color: #323f48; /* New primary color */
}

/* Footer */
footer {
  background: #323f48; /* New primary color */
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
}

footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

footer .cta {
  flex: 1;
  padding: 10px;
}

footer .cta p {
  margin: 0;
}

footer .cta a {
  background: #d7dc2e; /* New secondary color */
  color: #323f48; /* New primary color */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

footer .cta a:hover {
  background: #323f48; /* New primary color */
  color: #ffffff;
}

footer .social-icons {
  flex: 1;
  padding: 10px;
  text-align: center;
}

footer .social-icons a {
  color: #ffffff;
  margin: 0 10px;
  font-size: 1.5em;
}

footer .quick-links {
  flex: 1;
  padding: 10px;
  text-align: center;
}

footer .quick-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px;
}

footer .quick-links a:hover {
  text-decoration: underline;
}

footer .footer-bottom {
  padding: 10px 0;
  font-size: 0.9em;
  border-top: 1px solid #ffffff;
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .intro,
  .contact-info {
    flex-direction: column;
  }

  .intro-text,
  .intro-image,
  .contact-details,
  .contact-form {
    padding: 10px;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 5px 0;
  }

  .team-grid,
  .achievements-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }
}
